package com.netease.b.a;

import android.content.Context;
import android.graphics.Bitmap;
import android.text.TextUtils;
import com.netease.framework.a.l;
import com.netease.pris.atom.s;
import com.netease.pris.atom.userinfo.UserInfo;
import java.util.LinkedList;
import java.util.List;

public class d
{
  public static final int a = 30;
  static d j;
  private static final boolean l;
  com.netease.framework.b.c b = new com.netease.framework.b.c();
  com.netease.framework.a.a c = new com.netease.framework.a.a(3);
  String d;
  String e;
  String f;
  boolean g;
  boolean h;
  boolean i = false;
  com.netease.l.c.a k;

  private d()
  {
    l locall = new l(this.b, this.c);
    this.b.a(locall);
    this.g = false;
    this.h = true;
  }

  public static int a(int paramInt)
  {
    return com.netease.framework.b.c.a(paramInt);
  }

  private static String d(int paramInt)
  {
    String str = "";
    switch (paramInt)
    {
    default:
    case 1:
    case 3:
    case 2:
    case 6:
    case 5:
    case 4:
    case 7:
    }
    while (true)
    {
      return str;
      str = "neteasemblog";
      continue;
      str = "sinamblog";
      continue;
      str = "qqmblog";
      continue;
      str = "douban";
      continue;
      str = "renren";
      continue;
      str = "sohumblog";
      continue;
      str = "kaixin";
    }
  }

  public static int f()
  {
    return com.netease.framework.b.c.a();
  }

  public static d h()
  {
    if (j == null)
      j = new d();
    return j;
  }

  private void n()
  {
    com.netease.j.d.j();
  }

  public int a(ag paramag)
  {
    return a(w.a(paramag));
  }

  protected int a(com.netease.framework.b.a parama, com.netease.framework.b.d paramd)
  {
    parama.a(paramd);
    return a(parama);
  }

  public int a(com.netease.framework.b.d paramd)
  {
    return a(com.netease.o.b.a(), paramd);
  }

  public int a(com.netease.framework.b.d paramd, com.netease.pris.atom.u paramu)
  {
    return a(i.a(c(), d(), paramu), paramd);
  }

  public int a(com.netease.framework.b.d paramd, com.netease.pris.atom.u paramu, int paramInt1, int paramInt2)
  {
    return a(paramd, paramu, paramInt1, paramInt2, true);
  }

  public int a(com.netease.framework.b.d paramd, com.netease.pris.atom.u paramu, int paramInt1, int paramInt2, boolean paramBoolean)
  {
    k localk = k.a(c(), d(), paramu, paramBoolean, false);
    localk.b(paramInt1);
    localk.c(paramInt2);
    return a(localk, paramd);
  }

  public int a(com.netease.framework.b.d paramd, UserInfo paramUserInfo, Bitmap paramBitmap, String paramString)
  {
    return a(aa.a(paramUserInfo, paramBitmap, paramString, c(), d()), paramd);
  }

  public int a(com.netease.framework.b.d paramd, com.netease.pris.protocol.d paramd1)
  {
    return a(i.b(c(), d(), paramd1), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString)
  {
    return a(paramd, paramString, com.netease.pris.atom.b.a);
  }

  public int a(com.netease.framework.b.d paramd, String paramString, com.netease.pris.atom.b paramb)
  {
    return a(i.a(c(), d(), paramString, paramb), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString, com.netease.pris.atom.b paramb, com.netease.pris.atom.u paramu)
  {
    k localk = k.a(c(), d(), paramString, paramb);
    localk.b(258);
    return a(localk, paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString, com.netease.pris.atom.b paramb, com.netease.pris.atom.u paramu, boolean paramBoolean)
  {
    k localk = k.a(c(), d(), paramString, paramb, paramu, paramBoolean, false);
    localk.b(258);
    return a(localk, paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString, com.netease.pris.atom.u paramu)
  {
    if (paramu.bl());
    g localg;
    for (int m = -1; ; m = localg.m())
    {
      return m;
      localg = g.a(paramString, paramu);
      localg.b(0);
      localg.a(paramd);
      com.netease.image.d.a().d().a(localg);
    }
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2)
  {
    return a(y.a(c(), d(), paramString1, paramString2), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, int paramInt, com.netease.pris.atom.b paramb)
  {
    return a(n.a(c(), d(), paramString1, paramString2, paramInt, paramb), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, com.netease.pris.atom.b paramb)
  {
    return a(y.a(c(), d(), paramString1, paramString2, paramb), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, com.netease.pris.atom.b paramb, String paramString3, String paramString4)
  {
    return a(y.a(c(), d(), paramString1, paramString2, paramb, paramString3, paramString4), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, com.netease.pris.atom.b paramb, String paramString3, boolean paramBoolean1, boolean paramBoolean2)
  {
    return a(y.a(c(), d(), paramString1, paramString2, paramb, paramString3, paramBoolean1, paramBoolean2), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, String paramString3)
  {
    return a(y.a(c(), d(), paramString1, paramString2, paramString3), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, String paramString3, float paramFloat)
  {
    return a(m.a(c(), d(), paramString1, paramString2, paramString3, paramFloat), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, String paramString3, int paramInt)
  {
    return a(m.a(c(), d(), paramString1, paramString2, paramString3, d(paramInt)), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, String paramString3, s params)
  {
    return a(m.a(c(), d(), paramString1, paramString2, paramString3, params), paramd);
  }

  public int a(com.netease.framework.b.d paramd, String paramString1, String paramString2, String paramString3, boolean paramBoolean)
  {
    return a(new af(paramString1, paramString2, paramString3, paramBoolean), paramd);
  }

  public int a(com.netease.framework.b.d paramd, LinkedList paramLinkedList)
  {
    return a(i.a(c(), d(), paramLinkedList), paramd);
  }

  public int a(com.netease.framework.b.d paramd, LinkedList paramLinkedList, String paramString1, String paramString2)
  {
    return a(h.a(c(), d(), paramLinkedList, paramString1, paramString2), paramd);
  }

  public int a(com.netease.framework.b.d paramd, List paramList, boolean paramBoolean, int paramInt1, int paramInt2)
  {
    int m;
    if ((paramList == null) || (paramList.size() == 0))
    {
      m = -1;
      return m;
    }
    com.netease.h.e locale = new com.netease.h.e(null);
    locale.a(c());
    if (paramBoolean);
    for (int n = 1; ; n = 0)
    {
      m = a(c.a(paramList, locale, n, paramInt1, paramInt2), paramd);
      break;
    }
  }

  public int a(com.netease.framework.b.e parame)
  {
    if (!this.i)
    {
      boolean bool = com.netease.pris.b.a.S();
      this.i = bool;
      if (!bool)
      {
        w localw = w.a();
        this.b.a(localw);
      }
    }
    parame.a(this.b);
    this.b.a(parame);
    return parame.m();
  }

  public int a(com.netease.pris.atom.b.b paramb, com.netease.framework.b.d paramd)
  {
    return a(f.a(paramb), paramd);
  }

  public int a(String paramString, int paramInt1, int paramInt2, com.netease.framework.b.d paramd)
  {
    g localg = g.a(paramString, false, false, 0, paramInt1, paramInt2);
    com.netease.image.d.a().d().a(localg);
    return localg.m();
  }

  public int a(String paramString, com.netease.framework.b.d paramd)
  {
    return a(paramString, -1, -1, paramd);
  }

  public int a(String paramString1, String paramString2, int paramInt, com.netease.framework.b.d paramd)
  {
    a(paramString1, paramString2);
    return a(new x(paramString1, paramString2, paramInt), paramd);
  }

  public int a(LinkedList paramLinkedList, int paramInt1, int paramInt2, com.netease.framework.b.d paramd)
  {
    q localq = q.a(paramLinkedList, paramInt1, paramInt2);
    localq.a(paramd);
    com.netease.image.d.a().d().a(localq);
    return localq.m();
  }

  public int a(LinkedList paramLinkedList, com.netease.framework.b.d paramd)
  {
    if (i());
    for (int m = -1; ; m = a(i.b(c(), d(), paramLinkedList), paramd))
      return m;
  }

  public int a(boolean paramBoolean, com.netease.framework.b.d paramd)
  {
    return a(i.a(c(), d(), paramBoolean), paramd);
  }

  public Context a()
  {
    return com.netease.l.b.e.a();
  }

  public void a(int paramInt1, int paramInt2)
  {
    this.b.a(paramInt1, paramInt2);
  }

  public void a(Context paramContext)
  {
  }

  public void a(com.netease.h.b paramb)
  {
    a(paramb, null);
  }

  public void a(com.netease.h.b paramb, String paramString)
  {
    com.netease.framework.a.m localm = com.netease.pris.protocol.c.a(paramb, c(), paramString);
    this.c.a(localm, 0);
  }

  public void a(com.netease.l.c.a parama)
  {
    this.k = parama;
  }

  public void a(String paramString)
  {
    this.f = paramString;
  }

  public boolean a(String paramString1, String paramString2)
  {
    if ((TextUtils.isEmpty(paramString1)) || (TextUtils.isEmpty(paramString2)));
    for (int m = 0; ; m = 1)
    {
      return m;
      n();
      this.d = paramString1;
      this.e = paramString2;
    }
  }

  public int b(com.netease.framework.b.d paramd)
  {
    return a(f.a(), paramd);
  }

  public int b(com.netease.framework.b.d paramd, com.netease.pris.atom.u paramu)
  {
    return a(i.b(c(), d(), paramu), paramd);
  }

  public int b(com.netease.framework.b.d paramd, com.netease.pris.protocol.d paramd1)
  {
    return a(o.a(c(), d(), paramd1), paramd);
  }

  public int b(com.netease.framework.b.d paramd, String paramString)
  {
    return b(paramd, paramString, com.netease.pris.atom.b.a);
  }

  public int b(com.netease.framework.b.d paramd, String paramString, com.netease.pris.atom.b paramb)
  {
    return a(i.b(c(), d(), paramString, paramb), paramd);
  }

  public int b(com.netease.framework.b.d paramd, String paramString1, String paramString2)
  {
    return a(y.b(c(), d(), paramString1, paramString2), paramd);
  }

  public int b(com.netease.framework.b.d paramd, String paramString1, String paramString2, int paramInt, com.netease.pris.atom.b paramb)
  {
    return a(n.b(c(), d(), paramString1, paramString2, paramInt, paramb), paramd);
  }

  public int b(com.netease.framework.b.d paramd, String paramString1, String paramString2, com.netease.pris.atom.b paramb)
  {
    return a(y.b(c(), d(), paramString1, paramString2, paramb), paramd);
  }

  public int b(com.netease.framework.b.d paramd, String paramString1, String paramString2, String paramString3)
  {
    return a(y.b(c(), d(), paramString1, paramString2, paramString3), paramd);
  }

  public int b(String paramString, com.netease.framework.b.d paramd)
  {
    return a(o.a(paramString, c(), d()), paramd);
  }

  public com.netease.l.c.a b()
  {
    return this.k;
  }

  public void b(int paramInt)
  {
    this.b.b(paramInt);
  }

  public void b(int paramInt1, int paramInt2)
  {
    if (paramInt1 <= 0);
    while (true)
    {
      return;
      ad localad = ad.a(paramInt1, paramInt2);
      localad.b(4);
      a(localad);
    }
  }

  public void b(String paramString1, String paramString2)
  {
    this.d = paramString1;
    this.e = paramString2;
  }

  public int c(com.netease.framework.b.d paramd)
  {
    return a(i.a(c(), this.e), paramd);
  }

  public int c(com.netease.framework.b.d paramd, com.netease.pris.atom.u paramu)
  {
    return a(i.c(c(), d(), paramu), paramd);
  }

  public int c(com.netease.framework.b.d paramd, com.netease.pris.protocol.d paramd1)
  {
    return a(o.b(c(), d(), paramd1), paramd);
  }

  public int c(com.netease.framework.b.d paramd, String paramString)
  {
    return c(paramd, paramString, com.netease.pris.atom.b.a);
  }

  public int c(com.netease.framework.b.d paramd, String paramString, com.netease.pris.atom.b paramb)
  {
    return a(i.c(c(), d(), paramString, paramb), paramd);
  }

  public int c(com.netease.framework.b.d paramd, String paramString1, String paramString2)
  {
    return a(y.c(c(), d(), paramString1, paramString2), paramd);
  }

  public int c(com.netease.framework.b.d paramd, String paramString1, String paramString2, com.netease.pris.atom.b paramb)
  {
    return a(y.c(c(), d(), paramString1, paramString2, paramb), paramd);
  }

  public int c(String paramString, com.netease.framework.b.d paramd)
  {
    return a(e.a(paramString), paramd);
  }

  public String c()
  {
    if (TextUtils.isEmpty(this.d));
    for (String str = com.netease.pris.protocol.c.b; ; str = this.d)
      return str;
  }

  public void c(int paramInt)
  {
    this.b.c(paramInt);
  }

  public int d(com.netease.framework.b.d paramd)
  {
    return a(i.c(c(), d()), paramd);
  }

  public int d(com.netease.framework.b.d paramd, com.netease.pris.atom.u paramu)
  {
    return a(o.a(c(), d(), paramu), paramd);
  }

  public int d(com.netease.framework.b.d paramd, String paramString)
  {
    return a(r.a(c(), d(), paramString), paramd);
  }

  public int d(com.netease.framework.b.d paramd, String paramString1, String paramString2)
  {
    return a(k.a(c(), d(), paramString1, paramString2), paramd);
  }

  public int d(com.netease.framework.b.d paramd, String paramString1, String paramString2, com.netease.pris.atom.b paramb)
  {
    return a(n.a(c(), d(), paramString1, paramString2, 1, paramb), paramd);
  }

  public int d(String paramString, com.netease.framework.b.d paramd)
  {
    return a(t.a(paramString), paramd);
  }

  public String d()
  {
    if (TextUtils.isEmpty(this.e));
    for (String str = com.netease.pris.protocol.c.c; ; str = this.e)
      return str;
  }

  public int e(com.netease.framework.b.d paramd)
  {
    return a(i.d(c(), d()), paramd);
  }

  public int e(com.netease.framework.b.d paramd, com.netease.pris.atom.u paramu)
  {
    return a(o.b(c(), d(), paramu), paramd);
  }

  public int e(com.netease.framework.b.d paramd, String paramString1, String paramString2, com.netease.pris.atom.b paramb)
  {
    return a(n.b(c(), d(), paramString1, paramString2, 1, paramb), paramd);
  }

  public int e(String paramString, com.netease.framework.b.d paramd)
  {
    return a(t.b(paramString), paramd);
  }

  public String e()
  {
    if (this.f == null);
    for (String str = ""; ; str = this.f)
      return str;
  }

  public int f(com.netease.framework.b.d paramd)
  {
    return a(i.b(c(), d()), paramd);
  }

  public int g(com.netease.framework.b.d paramd)
  {
    return a(o.c(c(), d()), paramd);
  }

  public void g()
  {
    this.d = null;
    this.e = null;
    this.f = null;
  }

  public int h(com.netease.framework.b.d paramd)
  {
    return a(o.a(c(), d()), paramd);
  }

  public int i(com.netease.framework.b.d paramd)
  {
    return a(o.b(c(), d()), paramd);
  }

  public boolean i()
  {
    int m = 1;
    if ((!TextUtils.isEmpty(this.d)) && (!this.d.equalsIgnoreCase(com.netease.pris.protocol.c.b)))
      m = 0;
    return m;
  }

  public int j(com.netease.framework.b.d paramd)
  {
    return a(a.a(), paramd);
  }

  public void j()
  {
    this.b.b();
    this.c.a();
    j = null;
  }

  public int k(com.netease.framework.b.d paramd)
  {
    return a(a.b(), paramd);
  }

  public void k()
  {
    n();
    this.d = null;
    this.f = null;
    this.e = null;
    a(com.netease.h.b.d);
    com.netease.pris.d.c.a(0L, c());
  }

  public int l()
  {
    return a(w.a());
  }

  public int l(com.netease.framework.b.d paramd)
  {
    return a(z.a(c(), d()), paramd);
  }

  public int m(com.netease.framework.b.d paramd)
  {
    return a(z.b(c(), d()), paramd);
  }

  public void m()
  {
    this.b.a(new u());
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.a.d
 * JD-Core Version:    0.6.0
 */